//
//  PreferencesWindow.h
//  KotnetAutologin
//
//  Created by Kristof Marien on 17/01/10.
//  Copyright 2010 KotnetAutologin. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "KeyChain.h"


@interface PreferencesWindow : NSWindowController <NSWindowDelegate> {
	NSWindowController *prefWindow;
	NSTextField *userNameTextField;
	NSSecureTextField *passwordTextField;
	NSButton *saveInKeyChain;
	NSButton *closeKotnetUnavailable;
	NSButton *startAtLogin;
}
- (void) show:(id)sender;
- (BOOL) windowShouldClose:(id)sender;
- (BOOL) startAlreadyAtLogin;
- (BOOL) saveLogin:(id)sender;
- (void) displayAlertWithMessageText:(NSString *)messageText:(id)sender;
- (BOOL) closeWhenKotnetUnavailable;

@end
